package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Customers;
import cn.tedu.egmybatis4.pojo.vo.CustomersVO1;
import cn.tedu.egmybatis4.pojo.vo.CustomersVO2;
import cn.tedu.egmybatis4.pojo.vo.OrderListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {

    int insertCustomers(Customers customers);

    CustomersVO1 selectOneMap(String cid);

    List<CustomersVO2> selectListMap(String city);

    OrderListVO selectListOrder(String cid);

}
